{template "header.html"}


<form action="" class="form-horizontal" method="post" name="myform" id="myform">
    {$form}
    <div class="myfbody">
    <div class="portlet bordered light ">
        <div class="portlet-title tabbable-line">
            <ul class="nav nav-tabs" style="float:left;">
                <li class="{if $page==0}active{/if}">
                    <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-globe"></i> {SITE_NAME} </a>
                </li>
            </ul>
        </div>
        <div class="portlet-body">
            <div class="tab-content">

                <div class="tab-pane {if $page==0}active{/if}" id="tab_0">
                    <div class="form-body">

                        <div class="form-group">
                            <label class="col-md-2 control-label">{dr_lang('LOGO')}</label>
                            <div class="col-md-9">
                                {$logofield}
                            </div><br>
							<div>图片大小300*120像素之内</div>
                        </div>
						<div class="form-group">
						    <label class="col-md-2 control-label">{dr_lang('小LOGO图ico')}</label>
						    <div class="col-md-9">
						        {$logofieldico}
						    </div><br>
							<div>图片大小150*150像素之内</div>
						</div>
						<div class="form-group">
							<label class="col-md-2 control-label">{dr_lang('移动端LOGO')}</label>
							<div class="col-md-9">
								{$toubulogo}
							</div><br>
							<div>图片大小400*130像素之内</div>
						</div>
						<div class="form-group">
							<label class="control-label col-md-2">移动端网站头部</label>
							
							<div class="col-md-10">
								<div class="mt-radio-inline">
									<label class="mt-radio mt-radio-outline">
										<input type="radio" name="data[toubu]" value="0" 
										{if $data['toubu']==0}checked{/if}> 简介型头部 <span></span>
										 <br><img src="/static/assets/img/daohang0.jpg" width="150">
									</label>
									<label class="mt-radio mt-radio-outline">
										<input type="radio" name="data[toubu]" value="1"
										{if $data['toubu']==1}checked{/if}
										> LOGO型头部
										<span></span> 
										<br><img src="/static/assets/img/daohang1.jpg" width="150">
									</label>
									<label class="mt-radio mt-radio-outline">
										<input type="radio" name="data[toubu]" value="2"
										{if $data['toubu']==2}checked{/if}
										> 海报型头部
										<span></span> 
										<br><img src="/static/assets/img/daohang2.jpg" width="150">
									</label>
								</div>
							</div>
						</div>
						<div class="form-group">
							<label class="col-md-2 control-label">{dr_lang('LOGO型头部背景')}</label>
							<div>图片大小750*500像素</div>
							
							<div class="col-md-9">
								{$logotoububeijingtu}
							</div>
							
						</div>
						<div class="form-group">
							<label class="col-md-2 control-label">{dr_lang('海报型图片')}</label>
							<div>图片大小750*500像素</div>
							<div class="col-md-9">
								<?php echo dr_fieldform('{"name":"海报型图片","fieldname":"hbxtp","ismain":"1","fieldtype":"Ftable","setting":{"option":{"is_add":"1","is_first_hang":"0","count":"","first_cname":"","hang":{"1":{"name":""},"2":{"name":""},"3":{"name":""},"4":{"name":""},"5":{"name":""}},"field":{"1":{"type":"3","name":"图片","width":"200","option":""},"2":{"type":"1","name":"帖子ID","width":"200","option":""},"3":{"type":"1","name":"跳转地址","width":"","option":""},"4":{"type":"0","name":"","width":"","option":""},"5":{"type":"0","name":"","width":"","option":""},"6":{"type":"0","name":"","width":"","option":""},"7":{"type":"0","name":"","width":"","option":""},"8":{"type":"0","name":"","width":"","option":""},"9":{"type":"0","name":"","width":"","option":""},"10":{"type":"0","name":"","width":"","option":""}},"attachment":"0","image_reduce":"","width":"","css":""},"validate":{"required":"0","pattern":"","errortips":"","check":"","filter":"","formattr":"","tips":""}},"ismember":"1"}', $data['hbxtp'], 1, 1);?>
							</div>
							
						</div>

                        <div class="form-group">
                            <label class="col-md-2 control-label">{dr_lang('项目名称')}</label>
                            <div class="col-md-9">
                                <label><input class="form-control input-large" type="text" name="data[SITE_NAME]" id="dr_name" value="{htmlspecialchars((string)$data['SITE_NAME'])}"></label>
                             </div>
                        </div>
						<div class="form-group ">
						    <label class="col-md-2 control-label">{dr_lang('网站简介')}</label>
						    <div class="col-md-9">
						        <textarea class="form-control" style="height:100px" name="data[SITE_JIANJIE]">{$data['SITE_JIANJIE']}</textarea>
						    </div>
						</div>
						<div class="form-group ">
						    <label class="col-md-2 control-label">{dr_lang('公司名称')}</label>
						    <div class="col-md-9">
						        <textarea class="form-control" style="height:100px" name="data[SITE_GONGSI]">{$data['SITE_GONGSI']}</textarea>
						    </div>
						</div>
                        <div class="form-group">
                            <label class="col-md-2 control-label">{dr_lang('ICP备案信息')}</label>
                            <div class="col-md-9">
                                <label><input class="form-control input-large" type="text" name="data[SITE_ICP]" value="{htmlspecialchars((string)$data['SITE_ICP'])}"></label>
                             </div>
                        </div>
						
						<div class="form-group">
						    <label class="col-md-2 control-label">{dr_lang('公安备案信息')}</label>
						    <div class="col-md-9">
						        <label><input class="form-control input-large" type="text" name="data[SITE_GONGAN]" value="{htmlspecialchars((string)$data['SITE_GONGAN'])}"></label>
						     </div>
						</div>

                        <div class="form-group ">
                            <label class="col-md-2 control-label">{dr_lang('第三方统计代码')}</label>
                            <div class="col-md-9">
                                <textarea class="form-control" style="height:100px" name="data[SITE_TONGJI]">{$data['SITE_TONGJI']}</textarea>
                            </div>
                        </div>
						


                        {if $my_site_info}
                        {load "$my_site_info"}
                        {/if}

                        {$myfield}
						<div class="form-group">
							<label class="control-label col-md-2">反馈总开关</label>
							
							<div class="col-md-10">
								<div class="mt-radio-inline">
									<label class="mt-radio mt-radio-outline">
										<input type="radio" name="data[fankuizongkaiguan]" value="1" 
										{if $data['fankuizongkaiguan']==1}checked{/if}> 开启 <span></span> 
									</label>
									<label class="mt-radio mt-radio-outline">
										<input type="radio" name="data[fankuizongkaiguan]" value="0"
										{if $data['fankuizongkaiguan']==0}checked{/if}
										> 关闭 
										<span></span> 
									</label>
								</div>
							</div>
						</div>
						<div class="form-group">
							<label class="control-label col-md-2">帮助开关</label>
							
							<div class="col-md-10">
								<div class="mt-radio-inline">
									<label class="mt-radio mt-radio-outline">
										<input type="radio" name="data[bangzhukaiguan]" value="1" 
										{if $data['bangzhukaiguan']==1}checked{/if}> 开启 <span></span> 
									</label>
									<label class="mt-radio mt-radio-outline">
										<input type="radio" name="data[bangzhukaiguan]" value="0"
										{if $data['bangzhukaiguan']==0}checked{/if}
										> 关闭 
										<span></span> 
									</label>
								</div>
							</div>
						</div>
						<div class="form-group">
							<label class="control-label col-md-2">反馈开关</label>
							
							<div class="col-md-10">
								<div class="mt-radio-inline">
									<label class="mt-radio mt-radio-outline">
										<input type="radio" name="data[fankuikaiguan]" value="1" 
										{if $data['fankuikaiguan']==1}checked{/if}> 开启 <span></span> 
									</label>
									<label class="mt-radio mt-radio-outline">
										<input type="radio" name="data[fankuikaiguan]" value="0"
										{if $data['fankuikaiguan']==0}checked{/if}
										> 关闭 
										<span></span> 
									</label>
								</div>
							</div>
						</div>
						<div class="form-group">
							<label class="control-label col-md-2">建议开关</label>
							
							<div class="col-md-10">
								<div class="mt-radio-inline">
									<label class="mt-radio mt-radio-outline">
										<input type="radio" name="data[jianyikaiguan]" value="1" 
										{if $data['jianyikaiguan']==1}checked{/if}> 开启 <span></span> 
									</label>
									<label class="mt-radio mt-radio-outline">
										<input type="radio" name="data[jianyikaiguan]" value="0"
										{if $data['jianyikaiguan']==0}checked{/if}
										> 关闭 
										<span></span> 
									</label>
								</div>
							</div>
						</div>
						<div class="form-group">
							<label class="control-label col-md-2">举报开关</label>
							
							<div class="col-md-10">
								<div class="mt-radio-inline">
									<label class="mt-radio mt-radio-outline">
										<input type="radio" name="data[jubaokaiguan]" value="1" 
										{if $data['jubaokaiguan']==1}checked{/if}> 开启 <span></span> 
									</label>
									<label class="mt-radio mt-radio-outline">
										<input type="radio" name="data[jubaokaiguan]" value="0"
										{if $data['jubaokaiguan']==0}checked{/if}
										> 关闭 
										<span></span> 
									</label>
								</div>
							</div>
						</div>

                    </div>
                </div>


            </div>
        </div>
    </div>
    </div>
    <div class="portlet-body form myfooter">
        <div class="form-actions text-center">
            <label><button type="button" onclick="dr_ajax_submit('{dr_now_url()}&page='+$('#dr_page').val(), 'myform', '2000')" class="btn blue"> <i class="fa fa-save"></i> {dr_lang('保存')}</button></label>
            {if dr_is_app('mbdy') && $ci->_is_admin_auth()}<label><a class="btn  yellow" href="javascript:dr_iframe_show('show', '{dr_url('mbdy/site/cms')}');"> <i class="fa fa-code"></i>
                {dr_lang('前端调用')}</a></label>{/if}
        </div>
    </div>
</form>

{template "footer.html"}